Skip to content

Add Solana Swap API monetization guide#262

Open
jlin27 wants to merge 7 commits into
mainfrom
solana-monetization-guide
Open

Add Solana Swap API monetization guide#262
jlin27 wants to merge 7 commits into
mainfrom
solana-monetization-guide

Conversation

@jlin27

@jlin27 jlin27 commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a new Monetize Your App on Solana guide documenting the monetization controls now available on the Solana Swap API (volume-based affiliate fees), and cleans up related navigation and stale API-reference links.

Note on trade surplus

Per GTM decision, trade surplus will not be publicly presented as a monetization option for Solana.

Changes

  • New guide: solana-swap-api/guides/monetize-your-app.mdx, mirroring the structure of the EVM monetize guide but adapted to Solana's POST/JSON, snake_case, ppm-based API:
    • Affiliate feesswap_fee_ppm, swap_fee_recipient, swap_fee_side; single- and multi-fee/multi-recipient examples; buy vs sell side behavior; ppm-vs-bps note; sequential fee compounding; fee recipient account requirements; per-app fee cap (default 100,000 ppm / 10%, enforced per entry).
  • Nav: registered the guide in the Solana Swap API section (after Get Started).
  • Title disambiguation: the two monetization guides are now "Monetize Your App on Solana" and "Monetize Your App on EVM".
  • Stale link fix: the Solana Swap Instructions API-reference path …/solana-swap/solana-swap-swap-instructions 404s in production; updated links to …/swap/instructions (with #request.body.* anchors) in important-integration-notes.mdx, faq.mdx, and api-reference-overview.mdx.

Testing

  • fern check passes.
  • Previewed locally with fern docs dev

jlin27 added 2 commits July 22, 2026 16:06
Add a new "Monetize Your App on Solana" guide covering the two
monetization mechanisms now available on the Solana Swap API:

- Affiliate fees (swap_fee_ppm / swap_fee_recipient / swap_fee_side),
  including multi-fee/multi-recipient requests, buy vs sell side,
  ppm-vs-bps, sequential fee compounding, fee recipient account
  requirements, and the per-app fee cap.
- Trade surplus capture (trade_surplus_cap_ppm / trade_surplus_recipient).

Also:
- Register the guide in the Solana Swap API nav.
- Disambiguate both monetization guide titles: "Monetize Your App on
  Solana" and "Monetize Your App on EVM".
- Fix stale Solana Swap Instructions API-reference links (the
  .../solana-swap/solana-swap-swap-instructions path 404s) in
  important-integration-notes, faq, and api-reference-overview.
@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown

@jlin27
jlin27 requested a review from D-J-Harris July 22, 2026 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant